package demo.service;

import org.springframework.stereotype.Service;

import demo.model.TestModel;

@Service
public class TestService {
	public void update() {
		TestModel.dao.findById("1").set("name", "n11").update();
		TestModel.create().set("id", "3").set("name", "n3").save();
		System.out.println("---");
	}
}
